import request from '@/utils/request'

/**
 * 分页查询
 *
 * @param appId appId
 * @param paginator paginator
 * @returns {*}
 */
export async function registerPageQuery(appId, paginator) {
  return await request({
    url: '/ddk/register/query',
    method: 'post',
    data: {
      'appId': appId,
      'paginator': paginator
    }
  })
}

/**
 * 发布
 *
 * @param appId uuid
 * @param paginator uuid
 * @returns {*}
 */
export async function publishDict(uuid) {
  return await request({
    url: '/ddk/register/publishDict',
    method: 'post',
    data: {
      'uuid': uuid,
    }
  })
}
